<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jstl/fmt" prefix="fmt" %>
<%@ include file="prelude.jsp" %>

<div class="message">
  <div class=content>
    <div class="tagbar">
      <div class="author roundbot">
        <b class="nickname"><c:out value="${nickname}"/></b>
        <b class="date"> - <fmt:formatDate value="${date}" type="date"/>&nbsp;<fmt:formatDate value="${date}" type="time"/></b>
      </div>
      <div class=answerslink>
        <a class=controls_link href='<c:out value="${viewLink}"/>'>
          <b class=counter>
            <c:set var="number" scope="request" value="${replyCount}"/>
            <jsp:include page="format_answers_count.jsp"/>
          </b>
        </a>
      </div>
    </div>
    <div>
    <c:out value="${message}" escapeXml="false"/>
      <c:if test="${truncated}">
      &nbsp;...&nbsp;
      <a class=more href='<c:out value="${viewLink}"/>'><fmt:message key='fullText'/></a>
      </c:if>
    </div>
  </div>
</div>
